Skip to content

style(forms): alinha telas de respostas e campos nao respondiveis ao …#391

Merged
GRHInvDev merged 1 commit into
mainfrom
388-intranet---regua-de-emocoes---correcoes
Jun 16, 2026
Merged

style(forms): alinha telas de respostas e campos nao respondiveis ao …#391
GRHInvDev merged 1 commit into
mainfrom
388-intranet---regua-de-emocoes---correcoes

Conversation

@GRHInvDev

@GRHInvDev GRHInvDev commented Jun 16, 2026

Copy link
Copy Markdown
Owner

…padrao V2

  • View da resposta ([responseId]): Card cru -> FormsPanel/FormSectionCard (paineis traslucidos, badge de icone teal, bordas suaves do modulo).
  • Lista {form}/responses: itens passam de Card opaco para FormsPanel; corrige HTML invalido (divs dentro de CardDescription/

    ).

  • Campos nao respondiveis (dynamic): caixa alinhada ao V2 + selo "Preenchido automaticamente" (Lock), com fallback fora do .v2-scope.

Bump de versao 1.43.0 -> 1.43.1 (patch, refactor de UI compativel).

Summary by CodeRabbit

  • Chores

    • Released patch version 1.43.1
  • Style

    • Dynamic form fields now display with a visual indicator showing auto-filled values
    • Form response pages refreshed with updated visual styling
    • Response list interface reorganized for improved presentation

…padrao V2

- View da resposta ([responseId]): Card cru -> FormsPanel/FormSectionCard
  (paineis traslucidos, badge de icone teal, bordas suaves do modulo).
- Lista {form}/responses: itens passam de Card opaco para FormsPanel;
  corrige HTML invalido (divs dentro de CardDescription/<p>).
- Campos nao respondiveis (dynamic): caixa alinhada ao V2 + selo
  "Preenchido automaticamente" (Lock), com fallback fora do .v2-scope.

Bump de versao 1.43.0 -> 1.43.1 (patch, refactor de UI compativel).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

Deployment failed with the following error:

You don't have permission to create a Preview Deployment for this Vercel project: elo.

View Documentation: https://vercel.com/docs/accounts/team-members-and-roles

@GRHInvDev
GRHInvDev merged commit 89f0046 into main Jun 16, 2026
4 of 6 checks passed
@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: eae4e25a-d124-4f9b-a9fb-900e562c86a5

📥 Commits

Reviewing files that changed from the base of the PR and between 1805e20 and 52f0dc1.

📒 Files selected for processing (4)
  • package.json
  • src/app/(authenticated)/forms/[id]/responses/[responseId]/page.tsx
  • src/components/forms/form-response.tsx
  • src/components/forms/responses-list.tsx

📝 Walkthrough

Walkthrough

Migrates form response UI components from Card/CardHeader/CardContent primitives to FormsPanel and FormSectionCard shell components across the response detail page and responses list. Also reworks the "dynamic" field render to display a Lock badge labeled "Preenchido automaticamente". Package version bumped to 1.43.1.

Changes

Forms UI Shell Migration

Layer / File(s) Summary
Dynamic field Lock badge UI
src/components/forms/form-response.tsx
Adds Lock icon import and replaces the muted wrapper for "dynamic" fields with a bordered container showing the watched value or placeholder and a right-aligned auto-fill badge.
Response detail page shell migration
src/app/(authenticated)/forms/[id]/responses/[responseId]/page.tsx
Swaps Card-related imports for FormsPanel, FormSectionCard, and FileText; wraps the avatar/name/status/dates header in FormsPanel; and renders the Respostas section via FormSectionCard.
ResponsesList shell migration
src/components/forms/responses-list.tsx
Imports FormsPanel and replaces the Card/CardHeader/CardTitle/CardDescription/CardContent/CardFooter structure with FormsPanel wrapper, h3-based header, and updated div containers for chat and action areas.
Version bump
package.json
Increments package version from 1.43.0 to 1.43.1.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • GRHInvDev/elo#209: Also modifies src/components/forms/responses-list.tsx with layout and data-loading changes to the ResponsesList component.

Poem

🐇 Hop hop, the Cards have gone away,
Now FormsPanel is here to stay!
A Lock badge gleams on dynamic fields so bright,
"Preenchido automaticamente" — what a sight!
Version bumped, the warren's neat and right. ✨

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 388-intranet---regua-de-emocoes---correcoes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants